﻿function packlist() {
    var p = new page();
    p.c = "Way.Bus.WMS.ST.Controllers.YS.ST_PackListController";
    p.title = "装车";
    p.mainColumns = ["ROWINDEX", 'CODE', 'TOWHNO', 'STATE'];
    p.subColumns = ['THEDRIVER', 'CARNO', 'CREATEDBY', 'CREATIONDATE'];
    p.searchWhere = [{ ColumnName: "CODE", Value: "", Relation: "or", Symbol: "like"}];
    p.defultWhere = [{ ColumnName: "IsSubmited", Value: "1" }, { ColumnName: "State", Value: "3", Symbol: "<" }, { ColumnName: "TheDriver", Value: webjs.userid}];
    p.fromconfig = {
        grid: [true,false],
        disablebox:"*",
        editbox: [""],
        editindex:0
    };
    p.init();
}